package jodis.conn.impl;

import jodis.conn.inter.IReply;

import java.nio.charset.StandardCharsets;

public class NullReply implements IReply {

    private static final byte[] NULL_BYTES = "$-1\r\n".getBytes(StandardCharsets.UTF_8);

    public static NullReply makeNullReply() {
        return new NullReply();
    }
    @Override
    public byte[] toBytes() {
        return NULL_BYTES;
    }
}
